﻿using System;
using ZBJF.Warranty.Model.ViewModel.BaseQueryModel;

namespace ZBJF.Warranty.Model.ViewModel.Order
{
    public partial class InsuranceOrderModel : BaseQueryParams
    {
        public long ID { get; set; }
        public string CardNo { get; set; }
        public string CardPwd { get; set; }
        public string VerificationCertificate { get; set; }
        public string OrderNO { get; set; }
        public int? InsuranceCategory { get; set; }
        public string InsuranceCategoryName { get; set; }
        public string ProductName { get; set; }
        public byte BuyType { get; set; }
        public decimal Price { get; set; }
        public int WaitDays { get; set; }
        public DateTime? EffectiveDate { get; set; }
        public int PolicyPeriod { get; set; }
        public byte PolicyPeriodUnit { get; set; }
        public string UserName { get; set; }
        public string UserPhone { get; set; }
        public byte? CertificateType { get; set; }
        public string CertificateNO { get; set; }
        public long? ProductTypeId { get; set; }
        public string ProductTypeName { get; set; }
        public string IMEI { get; set; }
        public string IDFV { get; set; }
        public long? ProductBrandId { get; set; }
        public string ProductBrandName { get; set; }
        public long? ProductModelId { get; set; }
        public string ProductModelName { get; set; }
        public string RandomCode { get; set; }
        public string SaleVendorId { get; set; }
        public string SaleVendorName { get; set; }
        public string SalePersonName { get; set; }
        public string SaleManagerName { get; set; }
        public string SaleManagerPhone { get; set; }
        public string SaleAddress { get; set; }
        public byte? OrderStatus { get; set; }
        public string LastCheckUser { get; set; }
        public DateTime? LastCheckTime { get; set; }
        public byte? OrderFromType { get; set; }
        public DateTime? CreateOrderTimeStart { get; set; }
        public DateTime? CreateOrderTimeEnd { get; set; }
        public string CreateBy { get; set; }
        public string LastModifyBy { get; set; }
        public DateTime? LastModifyTime { get; set; }

        public bool? CanCreatedWarranty { get; set; }
        public DateTime? ServiceStartTime { get; set; }
        public DateTime? ServiceEndTime { get; set; }

        public string OrderStatusString { get; set; }
        public string ExcludeOrderStatusString { get; set; }

        public string ThirdOrderNO { get; set; }
        public string InsuranceCompany { get; set; }
        public string InsuranceCompanyBranch { get; set; }
        #region 保险产品其他信息
        public string Email { get; set; }
        public string Sex { get; set; }
        public string BirthDay { get; set; }
        /// <summary>
        /// 接口返回的产品价格
        /// </summary>
        public decimal ProductAmount { get; set; }
        public long SellerID { get; set; }
        public long SellerEmployeeID { get; set; }
        /// <summary>
        /// 商家产品
        /// </summary>
        public SellerInsuranceProducts SellerInsuranceProducts { get; set; }
        #endregion
    }
}
